package com.woniuxy.impl;


import com.woniuxy.Person;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class Jap implements Person {

    String name;
    int nums;
    Identity identity;
    List<String> types;
    List<Identity> identitylist;
    List<Map<Integer,String>> foodmap;
    Map<String,String> dayMap;
    Set<String> set;

    public Jap() {
    }

    public Jap(String name, int nums, Identity identity, List<String> types, List<Identity> identitylist, List<Map<Integer, String>> foodmap, Map<String, String> dayMap, Set<String> set) {
        this.name = name;
        this.nums = nums;
        this.identity = identity;
        this.types = types;
        this.identitylist = identitylist;
        this.foodmap = foodmap;
        this.dayMap = dayMap;
        this.set = set;
    }

    @Override
    public String toString() {
        return "Chinese{" +
                "name='" + name + '\'' +
                ", nums=" + nums +
                ", identity=" + identity +
                ", types=" + types +
                ", identitylist=" + identitylist +
                ", foodmap=" + foodmap +
                ", dayMap=" + dayMap +
                ", set=" + set +
                '}';
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNums(int nums) {
        this.nums = nums;
    }

    public void setIdentity(Identity identity) {
        this.identity = identity;
    }

    public void setTypes(List<String> types) {
        this.types = types;
    }

    public void setIdentitylist(List<Identity> identitylist) {
        this.identitylist = identitylist;
    }

    public void setFoodmap(List<Map<Integer, String>> foodmap) {
        this.foodmap = foodmap;
    }

    public void setDayMap(Map<String, String> dayMap) {
        this.dayMap = dayMap;
    }

    public void setSet(Set<String> set) {
        this.set = set;
    }




//    String name;
//    int age;
//    Chinese chinese;
//    List<Integer> money;
//
//    public Jap(){
//
//        System.out.println("调用构造方法");
//    }
//
//    public Jap(String name, int age, Chinese chinese) {
//        this.name = name;
//        this.age = age;
//        this.chinese = chinese;
//    }
//    public Jap(String name, int age, Chinese chinese, List<Integer> money) {
//        this.name = name;
//        this.age = age;
//        this.chinese = chinese;
//        this.money = money;
//    }
//
//    public String getName() {
//        return name;
//    }
//
//    public void setName(String name) {
//        this.name = name;
//    }
//
//    public int getAge() {
//        return age;
//    }
//
//    public void setAge(int age) {
//        this.age = age;
//    }
//
//    public Chinese getChinese() {
//        return chinese;
//    }
//
//    public void setChinese(Chinese chinese) {
//        this.chinese = chinese;
//    }
//
//    public List<Integer> getMoney() {
//        return money;
//    }
//
//    public void setMoney(List<Integer> money) {
//        this.money = money;
//    }
//
//    @Override
//    public String toString() {
//        return "Jap{" +
//                "name='" + name + '\'' +
//                ", age=" + age +
//                ", chinese=" + chinese +
//                ", money=" + money +
//                '}';
//    }

    @Override
    public void eat() {

        System.out.println("我是日本人，我不吃");
    }
}
